<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% load staticfiles %}
    <link rel="shortcut icon" href="{% static 'img/logo.ico' %}">
    <title>博客文章列表</title>
</head>
<body>
<h1>这是博客文章列表</h1>
<h3>下面区域用于从数据库取出文章</h3>
<a href="{% url 'blog:blog_page1' %}">第一篇博客</a>
<br><hr><br>
{% for article in articles%}
    <a href="{% url 'blog:blog_page' article.id %}">{{ article.title }}</a>
    <br/>
{% endfor %}
<br>

<a href="{% url 'blog:blog_edit' 0 %}">写新文章</a>
</body>
</html>